import "./goBack.css"
import { useNavigate } from "react-router-dom"
function GoBack(props) {
    const navigate = useNavigate()
    return (
        <div className="GoBackBox">
            <p onClick={() => navigate(-1)}>㇛</p>
            <p>{props.title}</p>
            <p>···</p>
        </div>
    )
}
export default GoBack